package io.renren.modules.nuaa.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 答案
*
* @author whc 15953295779@126.com
* @since 3.0 2023-11-03
*/
@Data
@ApiModel(value = "答案")
public class TQuestionAnswerDTO implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "答题人id")
    private Integer user_id;
    @ApiModelProperty(value = "问卷id")
    private Integer questionId;
    @ApiModelProperty(value = "答案")
    private String answer;
    @ApiModelProperty(value = "创建者")
    private String creator;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
    @ApiModelProperty(value = "更新者")
    private String updater;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date updateDate;


}